<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/5/24
 * Time: 17:14
 */

namespace Home\Request\wechat;


use Common\Common\Request;

class FindWechatRequest extends Request
{
    private $openid;

    public function setOpenId($openid)
    {
        $this->openid = $openid;
    }

    public function getOpenId()
    {
        return $this->openid;
    }

    public function issetOpenId()
    {
        return $this->is_set($this->openid);
    }

    public function verifyOpenId()
    {
        return is_numeric($this->openid);
    }

    public function IsOpenIdInRange()
    {
        return $this->openid > 0;
    }
}